package com.ailesson.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import com.ailesson.common.base.BaseEntity;

/**
 * 支付信息表
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-12 21:32:50
 */
@Data
@TableName("ail_payment_info")
public class PaymentInfoEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
    @TableId
    private Integer id;
	/**
	 * 对外业务编号
	 */
    private String outTradeNo;
	/**
	 * 订单编号
	 */
    private Long orderId;
	/**
	 * 
	 */
    private Long userId;
	/**
	 * 支付宝交易编号
	 */
    private String alipayTradeNo;
	/**
	 * 支付金额
	 */
    private BigDecimal totalAmount;
	/**
	 * 交易内容
	 */
    private String tradeBody;
	/**
	 * 
	 */
    private String paymentType;
	/**
	 * 支付状态
	 */
    private String paymentStatus;
	/**
	 * 回调信息
	 */
    private String callbackContent;
	/**
	 * 回调时间
	 */
    private LocalDateTime callbackTime;

}
